package com.aspose.cells;

import java.util.HashMap;

class zcbg {
   private zol a;
   private com.aspose.cells.b.a.d.zh b;
   private zcel c;
   private HashMap d;

   zcbg(zcel var1, zol var2) throws Exception {
      this.c = var1;
      this.a = var2;
      this.b = new com.aspose.cells.b.a.d.zh();
      this.d = new HashMap();

      for(int var3 = 0; var3 < var2.a.getComments().getCount(); ++var3) {
         Comment var4 = var2.a.getComments().get(var3);
         if (this.d.get(var4.getAuthor()) == null) {
            this.d.put(var4.getAuthor(), var3);
         }
      }

   }

   void a(String var1, com.aspose.cells.a.f.zj var2) throws Exception {
      this.a();
      zcel.a(var1, this.b, var2);
      this.b.a();
      this.b = null;
   }

   void a() throws Exception {
      zcdb var1 = new zcdb(628);
      var1.a(this.b);
      this.b();
      this.c();
      zcdb var2 = new zcdb(629);
      var2.a(this.b);
   }

   private void b() throws Exception {
      zcdb var1 = new zcdb(630);
      var1.a(this.b);
      Comment var2 = this.a.a.getComments().get(0);
      String var3 = var2.getAuthor();
      zcbd var4 = new zcbd(var3);
      var4.a(this.b);
      zcdb var5 = new zcdb(631);
      var5.a(this.b);
   }

   private void c() throws Exception {
      zcdb var1 = new zcdb(633);
      var1.a(this.b);

      for(int var2 = 0; var2 < this.a.a.getComments().getCount(); ++var2) {
         Comment var3 = this.a.a.getComments().get(var2);
         this.a(var3);
      }

      zcdb var4 = new zcdb(634);
      var4.a(this.b);
   }

   private void a(Comment var1) throws Exception {
      zbwx var2 = new zbwx(0, var1);
      var2.a(this.b);
      if (var1.b().i() != null) {
         zcbe var3 = new zcbe();
         var3.a(var1.b(), this.a.b);
         var3.a(this.b);
      }

      zcdb var4 = new zcdb(636);
      var4.a(this.b);
   }
}
